
package com.xbongbong.admin.domain.dao;

import com.xbongbong.admin.domain.entity.PaasFormRetainEnity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


/**
* @author autoGen
* @time 2018-08-13 09:59:18
*/
@Repository
@Mapper
public interface PaasFormRetainDao {


    /**
     * 批量插入实体
     * @param paasFormList
     * @return 返回数据的列表
     */
    Integer insertBatch(@Param("list") List<PaasFormRetainEnity> paasFormList);



    List<PaasFormRetainEnity>  findEntitys(@Param("param") Map<String, Object> param);

    /**
     * 批量删除
     * @param list 主键id集合
     * @param corpid
     * @author xingxing.xiao
     */
    Integer deleteBatch(@Param("list") List<Long> list, @Param("corpid") String corpid);

}